package com.mapforge.listener;

import com.mapforge.map.TileMap;

public class TileMapChangeEvent extends BasicEvent {

	private TileMap tileMap;
	private TileMapChangeType changeType;

	public TileMapChangeEvent(Object src, TileMap tileMap,
			TileMapChangeType changeType) {
		super(src);
		this.tileMap = tileMap;
		this.changeType = changeType;
	}

	public TileMapChangeType getChangeType() {
		return changeType;
	}

	public TileMap getTileMap() {
		return tileMap;
	}
}
